package x.mybatis.mapper;

import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * @author hanjuntao
 * @date 2025/5/9 0009
 */
public interface BaseQueryMapper<T> {

    /**
     * 根据Example条件进行查询
     *
     * @param example
     * @return
     */
    @SelectProvider(type = BaseQueryMapperProvider.class, method = "selectByExample")
    List<T> selectByExample(Object example);
}
